﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets
    xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Create DataMember</Title>
      <Author>Teacher彭</Author>
      <Description>创建DataMember属性</Description>
      <Shortcut>dm</Shortcut>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>Type</ID>
          <ToolTip>Data Type</ToolTip>
          <Default>string</Default>
        </Literal>
        <Literal>
          <ID>Key</ID>
          <ToolTip>Data Key</ToolTip>
          <Default>data</Default>
        </Literal>
      </Declarations>
      <Code Language="CSharp">
        <![CDATA[[DataMember]
            public $Type$ $Key$ { get; set; }
]]>
      </Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>
